import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'vant/lib/index.css'
import '@/styles/main.scss'
import persist from 'pinia-plugin-persistedstate'  //持久化插件引入
// console.log(import.meta.env.DEV);

import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia().use(persist))  //注册持久化插件
app.use(router)

app.mount('#app')
